package com.jlcindia;

public class Lab13 {
	static{
		System.out.println("static of Lab13");
	}
	public static void main(String[] args)throws Exception{
		if(args.length==1){
			String cName=args[0];
			ClassLoader load=Lab13.class.getClassLoader();
			Class cl=load.loadClass(cName);
			System.out.println("==Class Loaded\t:"+cl.getName());
			System.out.println("==SuperClass\t:"+cl.getSuperclass());
			System.out.println("\n======================");
			Object obj=cl.newInstance();
			System.out.println(obj);
		}else{
			System.out.println("Provide Classname as CLA");
		}

	}
}
